package com.sp.base.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @desc:
 * @author: panxiyi
 * @date: 2023/4/6 11:04 下午
 */

@RestController
@RequestMapping
public class UserController {


    @Value("${country}")
    private String country;

    @Value("${likes[0]}")
    private String like0;

    @Value("${tmpDir1}")
    private String tmpDir1;

    @RequestMapping("/test")
    public String easyTest() {
        System.out.println("this is a test");
        System.out.println("tmpDir : " + tmpDir1);
        System.out.println(like0);
        return "test ok" + country;
    }

}
